<extend name="Base/common2"/>
<block name="body">
<div id="J_main" class="container main">

    <!-- login start-->
    <section class="login">
        <h2>登录外包大师</h2>
        <form id="J_login" action="login" method="post" novalidate="novalidate">
            <!--<input type="hidden" name="_token" value="4XkajeEPrRI8Cn0FfnvdehAd4VKv1jx4qtb0eFI7">-->
            <fieldset>
                <input id="J_mobile" class="form-input" type="text" name="mobile" maxlength="11" minlength="11" placeholder="手机号">
            </fieldset>
            <fieldset>
                <input id="J_password" class="form-input" type="password" name="password" maxlength="12" minlength="8" placeholder="密码">
            </fieldset>
            <fieldset>
                <input class="form-input form-code" type="text" name="check_code" maxlength="6" minlength="6" placeholder="请输入验证码"><img class="J_get-sms form-get-sms" src="{:U('User/getVerifyCode')}" onclick="this.src='{:U(\'User/getVerifyCode\')}'+'&'+Math.random();">
            </fieldset>
            <fieldset>
                <label class="J_radio form-radio" for="role_1"><input id="role_1" type="radio" name="role" value="jia" />我是需求方</label>
                <label class="J_radio form-radio" for="role_2"><input id="role_2" type="radio" name="role" value="yi" />我是服务方</label>
            </fieldset>
            <button class="btn btn-orange submit" type="submit">登录</button>
            <!--<a class="btn btn-orange submit" href="javascript:;">登录</a>-->
        </form>
    </section>
    <!-- login end -->

    <!-- dialog captcha start -->
    <section id="J_dialog-captcha" class="dialog-captcha">
        <div class="content">
            <i class="iconfont icon-icon_close close"></i>
            <p class="text">请输入验证码</p>
            <img class="captcha" src="" alt="验证码">
            <input id="J_sms" class="form-input" type="text" maxlength="5" minlength="5">
            <p class="form-error"></p>
            <a class="btn btn-orange" href="javascript:;">提交</a>
        </div>
    </section>
    <!-- dialog captcha end -->

    <input id="requireModule" type="hidden" data-module="login">

</div></block>